import { MemoKnowledgeBase } from './list/index';
import { MemoDocDetail } from '@/views/KnowledgeBase/pages/detail/index'

// 定义DetailsList的路由配置
const KnowledgeBaseRoutes = [
  {
    path: '/knowledgeBase',
    element: MemoKnowledgeBase
  },
  {
    path: ':id',
    element: MemoKnowledgeBase
  },
  {
    path: ':id/docDetail',
    element: MemoDocDetail,
  },
  {
    path: ':id/new',
    element: MemoDocDetail,
  },
  {
    path: ':id/:docId',
    element: MemoDocDetail,
  },
];

export default KnowledgeBaseRoutes;